/*
Tangent, an online sign-up sheet
Copyright (C) 2008 Justin Ludwig and Adam Stuenkel

This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License
as published by the Free Software Foundation; either version 2
of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
GNU General Public License for more details.

You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
02110-1301, USA.
*/

/* general */

body, textarea {
    font-family: tahoma, sans-serif;
}
body {
    color: #333;
    background-color: #fff;
}

h1, h2, h3, h4, h5, h6 {
    margin: 0.3em 0 0.1em 0;
    font-weight: bold;
}
h1 {
    font-size: 2.0em;
}
h2 {
    font-size: 1.6em;
}
h3 {
    font-size: 1.3em;
}
h4 {
    border: 1px solid #ccc;
    margin-top: 1em;
    padding: 0.3em 0.5em;
    background-color: #eef;
    font-size: 1.1em;
}
h5 {
    font-size: 0.85em;
}
h6 {
    font-size: 0.7em;
}

p {
    margin: 0.4em 0;
}
pre {
    font-family: monospace;
}
address {
    font-style: italic;
}
ins {
    background-color: #efe;
    text-decoration: none;
}
del {
    background-color: #fee;
    text-decoration: none;
}
blockquote {
    color: #000;
    background-color: #eee;
    border: 1px solid #ccc;
    margin: 0.2em 1em;
    padding: 0.2em;
    font-size: 0.95em;
}

caption, th {
    text-align: left;
}
.tbl {
    border: 1px solid #ccc;
    width: 100%;
    border-collapse: collapse;
    empty-cells: show;
}
fieldset .tbl {
    width: 99%;
    margin: 0.5em;
}
.tbl caption {
    border: 1px solid #ccc;
    margin-top: 1em;
    padding: 0.3em 0.5em;
    background-color: #eef;
    font-size: 1.1em;
    font-weight: bold;
}
/* hack: ie ignores caption margin; ff applies table margin between caption and table */
.ie .tbl {
    margin-top: 1em;
}
.ie .tbl .caption {
    margin: 0;
}
.caption-tools {
    position: relative;
    left: 0.7em;
    top: -0.1em;
    font-size: 0.8em;
    font-weight: normal;
}
.caption-tools a {
    padding: 0.2em;
}
.tbl th {
    border: solid #ccc;
    border-width: 1px 0;
    padding: 0.2em 0.3em;
    background-color: #ddd;
}
.tbl td {
    border: solid #ccc;
    border-width: 1px 0;
    padding: 0.1em 0.3em;
}
.tbl .date, .tbl .number {
    text-align: right;
    white-space: nowrap;
}
.tbl .tools {
    text-align: right;
    white-space: nowrap;
}
.tbl .alt {
    background-color: #f4f4f4;
}
.tbl .primary td {
    border-bottom: 0;
}
.tbl .secondary td {
    border-top: 0;
    font-style: italic;
}
.tbl-foot {
    padding: 0.3em;
    padding-bottom: 1em;
}

dl {
    margin: 0.3em 0;
}
dt {
    margin-top: 0.2em;
    font-weight: bold;
}
dd {
    margin: 0 0 0.2em 1em;
    font-size: 0.9em;
}
ol, ul {
    margin: 0.3em 2em;
    list-style-position: inside;
}
ol li { 
    list-style: decimal;     
}
ul li { 
    list-style: disc; 
}

fieldset {
    border: 2px groove white;
    margin: 0.5em;
    padding: 0.2em;
}
legend {
    padding: 0 0.2em;
}
label {
    font-weight: bold; text-align: right;
}
.disabled label {
    font-weight: normal;
}

button {
    margin-left: 0.2em;
    text-align: center;
}
button, select, option {
    cursor: pointer;
}
input[type="checkbox"], input[type="radio"] {
    margin-left: 0;
    vertical-align: middle;
    cursor: pointer;
}
button[disabled], select[disabled], option[disabled] {
    cursor: default;
}

img {
    vertical-align: middle;
}

sub, sup {
    font-size: 0.8em;
}
code, kbd, samp, var, tt {
    font-family: monospace;
}
em {
    font-style: italic;
}
strong {
    font-weight: bold;
}
abbr, acronym, dfn, samp, var {
    color: #006;
}
abbr, acronym, dfn {
    cursor: help;
}
big {
    font-size: 1.7em;
}
small {
    font-size: 0.7em;
}

/* forms */

.long {
    width: 40em;
}
.medium {
    width: 20em;
}
.short {
    width: 10em;
}
.number {
    width: 4em;
}

.property {
    padding: 0.3em 0.5em;
    clear: both;
}
.property .property-label {
    float: left;
    width: 25%;
    padding: 0 0.5em;
}
/*
.required .property-label:before {
    content: "*";
}
*/
.property .yui-editor-container {
    position: relative;
    margin-left: 1em;
    left: 25%;
}
.property-description {
    font-size: 0.9em
}

label.checkbox, label.radio {
    cursor: pointer;
}

.buttons {
    padding: 0.3em 0;
    text-align: right;
}
.button-to, .button-to * {
    display: inline;
}

.notice {
    color: #060;
}

.error {
    color: #c00;
}

/* panels */

.metadata {
    font-size: 0.9em;
}
.content {
    padding: 0.3em;
}
.timestamp {
    margin-top: 1em;
    padding: 0.3em;
    font-size: 0.7em;
    text-align: right;
}

.pagination {
    padding: 0.5em;
    text-align: center;
}
.pagination span,
.pagination a {
    padding: 0.2em 0.4em;
}
.pagination .current {
    font-weight: bold;
}
.pagination .disabled {
    color: #666;
}
.pagination .prev_page {
    padding-left: 1em;
    padding-right: 1em;
}
.pagination .next_page {
    padding-left: 1em;
    padding-right: 3em;
}

.bd {
    text-align: left;
}

.h-container {
    overflow: hidden;
    zoom: 1;
}
.h-container h1 {
    float: left;
}
.h-container .h1-tools {
    position: relative;
    left: 1em;
    top: 1.5em;
    font-size: 0.9em;
}
.h-container .h1-tools a {
    padding: 0.2em;
}

.lr-container {
    position: relative;
}
.lr-container .l {
    display: block;
}
.lr-container .r {
    position: absolute;
    display: block;
    top: 0;
    right: 0;
}

.pre-sidebar {
    float: left;
}
.sidebar {
    display: block;
    float: right;
    border: 1px solid #ccc;
    margin-bottom: 1em;
}
.sidebar h5 {
    border-bottom: 1px solid #ccc;
    margin: 0;
    padding: 0.2em 1em;
}
.sidebar .content {
    padding: 0.2em 1em;
    background-color: #efe;
}
.post-sidebar {
    clear: left;
    padding-top: 1em;
}
.under-sidebar {
    clear: both;
}

.h-section, .tbl .h-section {
}

/* dialogs */

.datetime-input {
    display: block;
    float: left;
}
.datetime-input .calendar-container {
    display: none;
    position: absolute;
}
.datetime-input .calendar {
    padding-right: 0.5em;
}
.datetime-input .display {
    display: block;
    font-style: italic;
}

#alert button, #confirm button, #prompt button {
    width: 6em;
}

/* page */

/* footerstick */
html, body {
    height: 100%;
}
#doc3 {
    min-width: 0;
    min-height: 100%;
    height: auto !important;
    height: 100%;
    margin: 0;
    margin-bottom: -2em;
}

#hd, #ft, #bd, #bottom {
    padding: 0 1em;
}

#hd {
    height: 2em;
    color: #fff;
    background-color: #036;
    line-height: 2em;
}
#hd a {
    color: #eef;
}
#hd a:visited {
    color: #fef;
}
#hd .r {
    right: 1em;
}

#bd {
    padding: 0.3em 1em;
}

#flash {
    font-size: 1.2em;
    font-weight: bold;
}

/* footerstick */
#ft, #bottom {
    height: 2em;
}
#bottom {
    background-color: #eee;
    line-height: 2em;
}

